﻿using Sunny.UI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace NovoSerDes.A2B.propeties_page.uipage
{
    public partial class pin_config_general_view : UIPage
    {
        public pin_config_general_view()
        {
            InitializeComponent();
            this.combox_GPIO0.SelectedIndex = 0;
            this.combox_GPIO1.SelectedIndex = 0;
            this.combox_GPIO2.SelectedIndex = 0;
            this.combox_GPIO3.SelectedIndex = 0;
            this.combox_GPIO4.SelectedIndex = 0;
            this.combox_GPIO5.SelectedIndex = 0;
            this.combox_GPIO6.SelectedIndex = 0;
        }

        private void btn_Digital_pin_Drive_Strengh_Click(object sender, EventArgs e)
        {
            if(this.btn_Digital_pin_Drive_Strengh.Text == "High")
            {
                this.btn_Digital_pin_Drive_Strengh.Text = "Low";
            }
            else if(this.btn_Digital_pin_Drive_Strengh.Text == "Low")
            {
                this.btn_Digital_pin_Drive_Strengh.Text = "High";
            }
        }
    }
}
